<header>
    <div class="b-shadow"><!-- <div class="b-shadow"> -->
        <a href="" class="back-btn" ng-click="back()" ng-if="showback"></a>
        <h1>大脸猫-优惠券</h1></div>
</header>
<div zm-scroll="" no-bottom="true" srcroll-ref="true"><!-- <div ng-if="!coupons">暂无优惠券</div> -->
    <ul class="usercoupon-list">
        <li ng-repeat="coupon in coupons" ng-class="{timeover:coupon.status === '20',used:coupon.status === '90'}">
            <div class="inner"><h5>{{coupon.coupon_name}}</h5>

                <div class="c">
                    <div class="desc"><p>{{coupon.coupon_desc}}</p></div>
                    <div class="money"><strong>￥{{coupon.coupon_price}}</strong></div>
                </div>
                <div class="date">
                    领券时间:{{coupon.getCoupon_day.year}}-{{coupon.getCoupon_day.mon}}-{{coupon.getCoupon_day.day}}
                </div>
            </div>
            <div class="header"></div>
            <div class="footer">
                <div class="co" ng-if="coupon.status !== '20' && coupon.status !== '90'">
                    有效期还剩<strong>{{coupon.lastDay}}</strong>天
                </div>
                <div class="co" ng-if="coupon.status === '20'">已过期</div>
                <div class="co" ng-if="coupon.status === '90'">已使用</div>
            </div>
        </li>
      </ul>
    <div class="loading" id="loadIndicator"></div>
</div>